﻿using HotelManager.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManager.Service
{
    public interface IRoleService
    {
        Task<List<RoleData>> GetAllAsync();
        Task<ResultData<string>> AddAsync(string roleName);
        ResultData<string> Update(RoleData roleData);
        Task<RoleData> GetFirstOrDefaultAsync(int roleId);
        Task<ResultData<string>> DeleteAsync(int roleId);
    }
}
